package com.autumn.platform.dao.boot;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

import com.autumn.platform.core.boot.CoreProperties;

@ConfigurationProperties(prefix = DaoProperties.PREFIX)
public class DaoProperties {

    public static final String PREFIX = CoreProperties.AUTO_CONFIG_PROPERTIES_PREFIX + ".dao";

    @NestedConfigurationProperty
    private MybatisProperties mybatis;

    public MybatisProperties getMybatis() {
        return mybatis;
    }

    public void setMybatis(MybatisProperties mybatis) {
        this.mybatis = mybatis;
    }
}
